Release 10.1A: OpenEdge Development:
Progress 4GL Reference
CREATE BUFFER statement
Creates a dynamic buffer.
Syntax
handleA variable of type HANDLE that represents the handle of the buffer object.
FOR TABLEtable-exp|table-handle-expA character expression that evaluates to a unique database table name or temp-table name or to the handle of a database table or a temp-table.
Note: If the table name is ambiguous, you must qualify it with a database name.BUFFER-NAMEbuffer-expressionAn expression of type CHARACTER that evaluates, at run time, to the name of the dynamic buffer you are creating. This option lets a dynamic query have multiple buffers for the same table.
IN WIDGET-POOLwidget-pool-nameAn expression of type CHARACTER that evaluates, at run time, to the name of the widget pool that contains the dynamic buffer.
Note: Widget pool names are not case-sensitive. ExampleThe following example runs the query “for each customer” dynamically against the Sports database using a purely dynamic buffer with no compile time references at all:
Note
For more information on dynamic buffers, see OpenEdge Development: Progress 4GL Handbook .
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |